﻿using EscapeZone.Mapping.Elements;
using EscapeZone.Screens;
using EscapeZone.Serialization;

namespace EscapeZone.Mapping.Building
{
    public class GuardBuilder : GenericBuilder<GuardDefinition>
    {
        public GuardBuilder(EscapeGame game, GameScreen gameScreen) : base(game, gameScreen)
        {
        }
    
        public override IDefinable BuildElement(GuardDefinition definition)
        {
            return new Guard(Game, Screen, definition);
        }
    }
}